﻿using System;
using System.Collections.Generic;
using Autodesk.Revit.DB;

namespace YJKRevitCode.ShortPathSuite
{
	public class ResultBean : BaseResultBaen
	{
		public BaseEndPointPacker StartPoint
		{
			get
			{
				return this.m_startPoint;
			}
			protected set
			{
				this.m_startPoint = value;
			}
		}

		public BaseEndPointPacker EndPoint
		{
			get
			{
				return this.m_endPoint;
			}
			protected set
			{
				this.m_endPoint = value;
			}
		}

		public ResultBean(BaseEndPointPacker startPoint, BaseEndPointPacker endPoint, List<XYZ> lstPoints)
		{
			this.m_startPoint = startPoint;
			this.m_endPoint = endPoint;
			this.m_lstPoints = lstPoints;
			this.m_dDistance = BaseResultBaen.CalculateDistance(this.m_lstPoints);
		}

		private BaseEndPointPacker m_startPoint;

		private BaseEndPointPacker m_endPoint;
	}
}
